package com.example.mongodb.service;

import com.example.mongodb.entity.RestaurantInfo;

/**
 * @author : zhayh
 * @Date : 2021-5-16 19:36
 * @Description:
 */

public interface RestaurantService {
    // 新增餐厅
    RestaurantInfo addRestaurant(RestaurantInfo restaurantInfo);
    // 更新餐厅信息
    RestaurantInfo updateRestaurant(RestaurantInfo restaurantInfo);
    // 删除餐厅
    Boolean deleteRestaurant(Long id);

}
